using System;
using System.Collections.Generic;
using System.Text;
using Castle.ActiveRecord;
using NHibernate.Expression;

namespace WOODIFramework.Model
{
    [ActiveRecord("MenuBar")]
    public class MenuBar : ActiveRecordBase<Page>
    {
        private Guid _id;
        private String _name;
        
        [PrimaryKey(PrimaryKeyType.Guid)]
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        [Property]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
    }
}
